<h1>Add A New Torrent File</h1>
<%= form_tag "new", :multipart => true do %>
	<%= error_messages_for :torrent %>
	<p> <label for="new"> Select Torrent </label>:
	<%= file_field(:new, :torrent) %> </p>
	<% if @user.admin %>
		<%= number_field(:new, :uid, {:value => params[:uid], :hidden => true}) %>
	<% end %>
	<%= submit_tag "Upload" %>
<% end %>
<%= link_to 'Cancel', :back %>
